package com.zhangtai.Neusoft.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PerformanceDto {

    @ApiModelProperty("方案ID")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long preceptId;

    @ApiModelProperty("方案编号")
    private String preceptCode;

    @ApiModelProperty("考核方案名称")
    private String preceptName;

    @ApiModelProperty("评估阶段ID")
    private String phaseId;

    @ApiModelProperty("评估阶段")
    private String phaseName;

    @ApiModelProperty("考核年月")
    private String assessMonth;

    @ApiModelProperty("考核对象ID")
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long objectId;

    @ApiModelProperty("考核对象工号")
    private String objectCode;

    @ApiModelProperty("考核对象姓名")
    private String objectName;

    @ApiModelProperty("所在部门")
    private String unitName;

    @ApiModelProperty("所在岗位")
    private String jobName;

    @ApiModelProperty("评估得分")
    private BigDecimal evaluateScore;

    @ApiModelProperty("阶段得分")
    private BigDecimal phaseScore;

    @ApiModelProperty("审核得分")
    private BigDecimal approvesScore;

    @ApiModelProperty("最终得分")
    private BigDecimal performanceScore;

    @ApiModelProperty("应发绩效工资")
    private BigDecimal targetValue;

    @ApiModelProperty("名次")
    private Integer orderNo;




}
